package basic;

public class Buy {
	
	public static void main(String[] args) {
		for (int i = 0; i <= 33; i++) {
			for (int j = 0; j <= 50; j++) {
				for (int k = 0; k < 100; k++) {
					if(k%3 == 0 && i+j+k == 100 && 3*i + 2*j + k/3 == 100) {
						
						System.out.println(i+"#"+j+"#"+k);
					}
				}
			}
		}
	}

}
